﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PhuLuc_Update.aspx.cs"
    Inherits="AIC_CS.DeTaiChiTiet" MasterPageFile="~/Site1.Master" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register TagPrefix="uc" TagName="phuluc1" Src="~/phuluc1.ascx" %>
<%@ Register TagPrefix="uc" TagName="phuluc2" Src="~/phuluc2.ascx" %>
<%@ Register TagPrefix="uc" TagName="phuluc3" Src="~/phuluc3.ascx" %>
<%@ Register TagPrefix="uc" TagName="phuluc4" Src="~/phuluc4.ascx" %>
<%@ Register TagPrefix="uc" TagName="phuluc5" Src="~/phuluc5.ascx" %>
<%@ Register TagPrefix="uc" TagName="phuluc6" Src="~/phuluc6.ascx" %>
<%@ Register TagPrefix="uc" TagName="phuluc7" Src="~/phuluc7.ascx" %>
<%@ Register TagPrefix="uc" TagName="phuluc8" Src="~/phuluc8.ascx" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="MainContent">
    <div id="Div1" class="FormTitle" runat="server">
        <p class="TextTitle">
            <label id="lblFormName" runat="server" class="lblFormName">
                Cập nhật phụ lục
            </label>
            <asp:ImageButton CssClass="btnExit" ID="ImageButton1" runat="server" ImageUrl="Images/exit.png"
                Height="24px" OnClick="ImageButton1_Click" />
        </p>
    </div>
    <div class="FormMain">
        <div class="Form Update" runat="server" id="formUpdate">
            <table class="BaoCaoDinhKem">
                <tr>
                    <td runat="server" id="tdTenDeTai" colspan="2" align="center" style="font-size: 18px;
                        font-family: 'Times New Roman'; font-weight: bold; color: Blue">
                        Phụ lục <a>
                            <asp:Label ID="lbl_baocaoso" runat="server" Style="font-size: 18px; font-family: 'Times New Roman';
                                font-weight: bold; color: Blue;"> </asp:Label></a>
                    </td>
                </tr>
                <tr>
                    <td valign="top" style="width: 300px;" align="center">
                        Chọn phụ lục để cập nhật
                        <br />
                        <div id='divDauVao' style="width: 298px; overflow: auto; height: 305px">
                            <asp:ListBox runat="server" ID="lstDauVao" Width="1000px" Height="288px" Font-Names="Times New Roman"
                                Font-Size="13pt" ForeColor="#000099" AutoPostBack="true" OnSelectedIndexChanged="lstDauVao_SelectedIndexChanged"
                                ScrollBars="Auto">
                                <asp:ListItem Text="Item 1" Value="1" Selected="True"></asp:ListItem>
                            </asp:ListBox>
                        </div>
                        <br />
                        <br />
                    </td>
                    <td valign="top" align="center">
                        <%--<div runat="server" id="divPhuLucControls">
                        </div>--%>
                        <%
                            if (SelectedPhuLuc == "Phụ lục 1")
                            {
                        %>
                        <uc:phuluc1 runat="server" ID="phuluc11" />
                        <% }
                            else if (SelectedPhuLuc == "Phụ lục 2")
                            {
                        %>
                        <uc:phuluc2 runat="server" ID="phuluc2" />
                        <%}
                            else if (SelectedPhuLuc == "Phụ lục 3")
                            {%>
                        <uc:phuluc3 runat="server" ID="phuluc3" />
                        <%}
                            else if (SelectedPhuLuc == "Phụ lục 4")
                            {%>
                        <uc:phuluc4 runat="server" ID="phuluc4" />
                        <%}
                            else if (SelectedPhuLuc == "Phụ lục 5")
                            {%>
                        <uc:phuluc5 runat="server" ID="phuluc5" />
                        <%}
                            else if (SelectedPhuLuc == "Phụ lục 6")
                            {%>
                        <uc:phuluc6 runat="server" ID="phuluc6" />
                        <%}
                            else if (SelectedPhuLuc == "Phụ lục 7")
                            {%>
                        <uc:phuluc7 runat="server" ID="phuluc7" />
                        <%}
                            else if (SelectedPhuLuc == "Phụ lục 8")
                            {%>
                        <uc:phuluc8 runat="server" ID="phuluc8" />
                        <%} %>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
